package com.ray.basic;

public class BasicTest {

    public static void main(String[] args) {

//        System.out.println(Math.round(-1.5));//-1
//        System.out.println(Math.round(1.5));//2
        String str="i";
        String str2 = new String("i");
        System.out.println(str==str2);//f
        System.out.println(str.equals(str2));//t
        System.out.println(str.hashCode());
        System.out.println(str2.hashCode());
    }
}
